interface Question {
  stem: string;
  difficulty: number;
  answer: (string | number)[];
  hint1: string;
  hint2: string;
  solution: string;
}

const 函数基础_QUESTIONS: Question[] = [
  { stem: '已知函数f(x) = 2x + 1，求f(3)的值', difficulty: 2, answer: [7], hint1: '把x = 3代入函数', hint2: 'f(3) = 2 × 3 + 1', solution: '【小学生解法】\\n\\n函数：f(x) = 2x + 1\\n\\n求f(3)：\\n1. 把x = 3代入函数\\n2. f(3) = 2 × 3 + 1\\n3. f(3) = 6 + 1\\n4. f(3) = 7\\n\\n答：f(3) = 7' },

  { stem: '已知函数f(x) = x² + 2，求f(2)的值', difficulty: 2, answer: [6], hint1: '把x = 2代入函数', hint2: 'f(2) = 2² + 2', solution: '【小学生解法】\\n\\n函数：f(x) = x² + 2\\n\\n求f(2)：\\n1. 把x = 2代入函数\\n2. f(2) = 2² + 2\\n3. f(2) = 4 + 2\\n4. f(2) = 6\\n\\n答：f(2) = 6' },

  { stem: '已知函数f(x) = 3x - 5，求f(4)的值', difficulty: 2, answer: [7], hint1: '把x = 4代入函数', hint2: 'f(4) = 3 × 4 - 5', solution: '【小学生解法】\\n\\n函数：f(x) = 3x - 5\\n\\n求f(4)：\\n1. 把x = 4代入函数\\n2. f(4) = 3 × 4 - 5\\n3. f(4) = 12 - 5\\n4. f(4) = 7\\n\\n答：f(4) = 7' },

  { stem: '已知函数f(x) = x + 3，若f(a) = 8，求a的值', difficulty: 3, answer: [5], hint1: '列方程a + 3 = 8', hint2: 'a = 8 - 3', solution: '【小学生解法】\\n\\n函数：f(x) = x + 3\\n条件：f(a) = 8\\n\\n求a：\\n1. 把x = a代入函数：f(a) = a + 3\\n2. 根据条件：a + 3 = 8\\n3. 解方程：a = 8 - 3\\n4. a = 5\\n\\n验证：f(5) = 5 + 3 = 8 ✓\\n\\n答：a = 5' },

  { stem: '已知函数f(x) = 2x，若f(b) = 10，求b的值', difficulty: 3, answer: [5], hint1: '列方程2b = 10', hint2: 'b = 10 ÷ 2', solution: '【小学生解法】\\n\\n函数：f(x) = 2x\\n条件：f(b) = 10\\n\\n求b：\\n1. 把x = b代入函数：f(b) = 2b\\n2. 根据条件：2b = 10\\n3. 解方程：b = 10 ÷ 2\\n4. b = 5\\n\\n验证：f(5) = 2 × 5 = 10 ✓\\n\\n答：b = 5' },

  { stem: '已知函数f(x) = x² - 1，求f(3)的值', difficulty: 3, answer: [8], hint1: '把x = 3代入函数', hint2: 'f(3) = 3² - 1', solution: '【小学生解法】\\n\\n函数：f(x) = x² - 1\\n\\n求f(3)：\\n1. 把x = 3代入函数\\n2. f(3) = 3² - 1\\n3. f(3) = 9 - 1\\n4. f(3) = 8\\n\\n答：f(3) = 8' },

  { stem: '已知函数f(x) = 5x + 2，求f(0)的值', difficulty: 1, answer: [2], hint1: '把x = 0代入函数', hint2: 'f(0) = 5 × 0 + 2', solution: '【小学生解法】\\n\\n函数：f(x) = 5x + 2\\n\\n求f(0)：\\n1. 把x = 0代入函数\\n2. f(0) = 5 × 0 + 2\\n3. f(0) = 0 + 2\\n4. f(0) = 2\\n\\n答：f(0) = 2' },

  { stem: '已知函数f(x) = x/2 + 1，求f(6)的值', difficulty: 2, answer: [4], hint1: '把x = 6代入函数', hint2: 'f(6) = 6/2 + 1', solution: '【小学生解法】\\n\\n函数：f(x) = x/2 + 1\\n\\n求f(6)：\\n1. 把x = 6代入函数\\n2. f(6) = 6/2 + 1\\n3. f(6) = 3 + 1\\n4. f(6) = 4\\n\\n答：f(6) = 4' },

  { stem: '已知函数f(x) = 4x - 3，若f(c) = 13，求c的值', difficulty: 3, answer: [4], hint1: '列方程4c - 3 = 13', hint2: '4c = 13 + 3，c = 16 ÷ 4', solution: '【小学生解法】\\n\\n函数：f(x) = 4x - 3\\n条件：f(c) = 13\\n\\n求c：\\n1. 把x = c代入函数：f(c) = 4c - 3\\n2. 根据条件：4c - 3 = 13\\n3. 移项：4c = 13 + 3\\n4. 计算：4c = 16\\n5. 求c：c = 16 ÷ 4 = 4\\n\\n验证：f(4) = 4 × 4 - 3 = 13 ✓\\n\\n答：c = 4' },

  { stem: '已知函数f(x) = x² + x，求f(2)的值', difficulty: 3, answer: [6], hint1: '把x = 2代入函数', hint2: 'f(2) = 2² + 2', solution: '【小学生解法】\\n\\n函数：f(x) = x² + x\\n\\n求f(2)：\\n1. 把x = 2代入函数\\n2. f(2) = 2² + 2\\n3. f(2) = 4 + 2\\n4. f(2) = 6\\n\\n答：f(2) = 6' },
  { stem: "已知函数y = 13x + 14，当x = 16时，求y的值。", difficulty: 1, answer: [222], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 13 × 16 + 14 = 222" },
  { stem: "已知函数y = 14x + 15，当x = 17时，求y的值。", difficulty: 1, answer: [253], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 14 × 17 + 15 = 253" },
  { stem: "已知函数y = 15x + 16，当x = 18时，求y的值。", difficulty: 1, answer: [286], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 15 × 18 + 16 = 286" },
  { stem: "已知函数y = 16x + 17，当x = 19时，求y的值。", difficulty: 1, answer: [321], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 16 × 19 + 17 = 321" },
  { stem: "已知函数y = 17x + 18，当x = 20时，求y的值。", difficulty: 1, answer: [358], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 17 × 20 + 18 = 358" },
  { stem: "已知函数y = 18x + 19，当x = 21时，求y的值。", difficulty: 1, answer: [397], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 18 × 21 + 19 = 397" },
  { stem: "已知函数y = 19x + 20，当x = 22时，求y的值。", difficulty: 1, answer: [438], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 19 × 22 + 20 = 438" },
  { stem: "已知函数y = 20x + 21，当x = 23时，求y的值。", difficulty: 1, answer: [481], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 20 × 23 + 21 = 481" },
  { stem: "已知函数y = 21x + 22，当x = 24时，求y的值。", difficulty: 2, answer: [526], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 21 × 24 + 22 = 526" },
  { stem: "已知函数y = 22x + 23，当x = 25时，求y的值。", difficulty: 2, answer: [573], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 22 × 25 + 23 = 573" },
  { stem: "已知函数y = 23x + 24，当x = 26时，求y的值。", difficulty: 2, answer: [622], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 23 × 26 + 24 = 622" },
  { stem: "已知函数y = 24x + 25，当x = 27时，求y的值。", difficulty: 2, answer: [673], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 24 × 27 + 25 = 673" },
  { stem: "已知函数y = 25x + 26，当x = 28时，求y的值。", difficulty: 2, answer: [726], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 25 × 28 + 26 = 726" },
  { stem: "已知函数y = 26x + 27，当x = 29时，求y的值。", difficulty: 2, answer: [781], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 26 × 29 + 27 = 781" },
  { stem: "已知函数y = 27x + 28，当x = 30时，求y的值。", difficulty: 2, answer: [838], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 27 × 30 + 28 = 838" },
  { stem: "已知函数y = 28x + 29，当x = 31时，求y的值。", difficulty: 2, answer: [897], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 28 × 31 + 29 = 897" },
  { stem: "已知函数y = 29x + 30，当x = 32时，求y的值。", difficulty: 2, answer: [958], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 29 × 32 + 30 = 958" },
  { stem: "已知函数y = 30x + 31，当x = 33时，求y的值。", difficulty: 2, answer: [1021], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 30 × 33 + 31 = 1021" },
  { stem: "已知函数y = 31x + 32，当x = 34时，求y的值。", difficulty: 2, answer: [1086], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 31 × 34 + 32 = 1086" },
  { stem: "已知函数y = 32x + 33，当x = 35时，求y的值。", difficulty: 2, answer: [1153], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 32 × 35 + 33 = 1153" },
  { stem: "已知函数y = 33x + 34，当x = 36时，求y的值。", difficulty: 3, answer: [1222], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 33 × 36 + 34 = 1222" },
  { stem: "已知函数y = 34x + 35，当x = 37时，求y的值。", difficulty: 3, answer: [1293], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 34 × 37 + 35 = 1293" },
  { stem: "已知函数y = 35x + 36，当x = 38时，求y的值。", difficulty: 3, answer: [1366], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 35 × 38 + 36 = 1366" },
  { stem: "已知函数y = 36x + 37，当x = 39时，求y的值。", difficulty: 3, answer: [1441], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 36 × 39 + 37 = 1441" },
  { stem: "已知函数y = 37x + 38，当x = 40时，求y的值。", difficulty: 3, answer: [1518], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 37 × 40 + 38 = 1518" },
  { stem: "已知函数y = 38x + 39，当x = 41时，求y的值。", difficulty: 3, answer: [1597], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 38 × 41 + 39 = 1597" },
  { stem: "已知函数y = 39x + 40，当x = 42时，求y的值。", difficulty: 3, answer: [1678], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 39 × 42 + 40 = 1678" },
  { stem: "已知函数y = 40x + 41，当x = 43时，求y的值。", difficulty: 3, answer: [1761], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 40 × 43 + 41 = 1761" },
  { stem: "已知函数y = 41x + 42，当x = 44时，求y的值。", difficulty: 3, answer: [1846], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 41 × 44 + 42 = 1846" },
  { stem: "已知函数y = 42x + 43，当x = 45时，求y的值。", difficulty: 3, answer: [1933], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 42 × 45 + 43 = 1933" },
  { stem: "已知函数y = 43x + 44，当x = 46时，求y的值。", difficulty: 3, answer: [2022], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 43 × 46 + 44 = 2022" },
  { stem: "已知函数y = 44x + 45，当x = 47时，求y的值。", difficulty: 3, answer: [2113], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 44 × 47 + 45 = 2113" },
  { stem: "已知函数y = 45x + 46，当x = 48时，求y的值。", difficulty: 4, answer: [2206], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 45 × 48 + 46 = 2206" },
  { stem: "已知函数y = 46x + 47，当x = 49时，求y的值。", difficulty: 4, answer: [2301], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 46 × 49 + 47 = 2301" },
  { stem: "已知函数y = 47x + 48，当x = 50时，求y的值。", difficulty: 4, answer: [2398], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 47 × 50 + 48 = 2398" },
  { stem: "已知函数y = 48x + 49，当x = 51时，求y的值。", difficulty: 4, answer: [2497], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 48 × 51 + 49 = 2497" },
  { stem: "已知函数y = 49x + 50，当x = 52时，求y的值。", difficulty: 4, answer: [2598], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 49 × 52 + 50 = 2598" },
  { stem: "已知函数y = 50x + 51，当x = 53时，求y的值。", difficulty: 4, answer: [2701], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 50 × 53 + 51 = 2701" },
  { stem: "已知函数y = 51x + 52，当x = 54时，求y的值。", difficulty: 5, answer: [2806], hint1: "分析题目条件", hint2: "列出计算步骤", solution: "y = 51 × 54 + 52 = 2806" }
];

export default 函数基础_QUESTIONS;
